package com.kehutong.charge.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: ChargeOrderConfig
 * @author: joneron
 * @create: 2021/7/29
 **/
@Table(value="t_charge_order_config", comment="订单配置表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeOrderConfig extends DataEntity {

    protected ChargeOrderConfig(String id) {
        super(id);
    }

    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="小区名称")
    private String communityName;

    @Column(comment="配置人名称")
    private String userName;

    @Column(comment="配置人编号")
    private String userNo;

    @Column(comment="常规订单超时(分)")
    private String cgOrderMinute;

    @Column(comment="临时订单超时(分)")
    private String lsOrderMinute;

    @Column(comment="订单完成超时(天)")
    private String orderDays;

    @Column(comment = "状态：0禁用，1启用")
    private boolean status;

    @Column(comment = "排序")
    private Integer sort;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;

    @Column(comment = "是否初始化数据")
    private boolean initData;

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getCgOrderMinute() {
        return cgOrderMinute;
    }

    public void setCgOrderMinute(String cgOrderMinute) {
        this.cgOrderMinute = cgOrderMinute;
    }

    public String getLsOrderMinute() {
        return lsOrderMinute;
    }

    public void setLsOrderMinute(String lsOrderMinute) {
        this.lsOrderMinute = lsOrderMinute;
    }

    public String getOrderDays() {
        return orderDays;
    }

    public void setOrderDays(String orderDays) {
        this.orderDays = orderDays;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean isInitData() {
        return initData;
    }

    public void setInitData(boolean initData) {
        this.initData = initData;
    }
}
